﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Main.Master" AutoEventWireup="true"
    CodeBehind="EditCategory.aspx.cs" Inherits="AudioBook.AudioManagement.CategoryManage.EditCategory" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainHolder" runat="server">
    <asp:HiddenField ID="hidCategoryID" runat="server" />
    <div class="border">
        <div class="padding">
            <div id="toolbar-box">
                <div class="t">
                    <div class="t">
                        <div class="t">
                        </div>
                    </div>
                </div>
                <div class="m">
                    <div class="toolbar-list" id="toolbar">
                        <ul>
                            <li class="button"><a href="/audiomanagerment/Home.aspx" class="toolbar"><span class="icon-32-home">
                            </span>Home </a></li>
                            <li class="button">
                                <asp:LinkButton ID="btnSaveAndClose" runat="server" CssClass="toolbar" OnClick="btnSaveAndClose_Click">
                                        <span class="icon-32-save"></span>Save & Close
                                </asp:LinkButton>
                            </li>
                            <li class="button">
                                <asp:LinkButton ID="btnSaveAndNew" runat="server" CssClass="toolbar" OnClick="btnSaveAndNew_Click">
                                        <span class="icon-32-save-new"></span>Save & New
                                </asp:LinkButton>
                            </li>
                            <li class="button">
                                <asp:HyperLink ID="HyperLink1" runat="server" CssClass="toolbar" NavigateUrl="~/CategoryManage/Default.aspx">
                                        <span class="icon-32-cancel"></span>Cancel
                                </asp:HyperLink>
                            </li>
                            <li class="divider"></li>
                            <li class="button">
                                <asp:HyperLink ID="HyperLink2" runat="server" CssClass="toolbar" NavigateUrl="#">
                                        <span class="icon-32-help"></span>Help
                                </asp:HyperLink>
                            </li>
                        </ul>
                        <div class="clr">
                        </div>
                    </div>
                    <div class="pagetitle icon-48-categories">
                        <h2>
                            Category Manage: Edit category</h2>
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="b">
                    <div class="b">
                        <div class="b">
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <asp:CustomValidator ID="valCommon" runat="server" Text="" Visible="false"></asp:CustomValidator>
                <asp:ValidationSummary ID="valSum" runat="server" EnableClientScript="true" />
            </div>
            <div class="clr">
            </div>
            <div id="element-box">
                <div class="t">
                    <div class="t">
                        <div class="t">
                        </div>
                    </div>
                </div>
                <div class="m">
                    <div class="width-60 fltlft">
                        <fieldset class="adminform">
                            <legend>Details</legend>
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <col width="150" />
                                <col />
                                <tr>
                                    <td class="hasTip">
                                        Title
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtCategoryName" runat="server" Width="300"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="hasTip">
                                        Parent
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="dropParent" runat="server" Width="300px">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="hasTip">
                                        Image
                                    </td>
                                    <td>
                                        <asp:FileUpload ID="fulImage" runat="server" Width="300px" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="hasTip">
                                        Description
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" Rows="3" Width="300px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="hasTip">
                                        Sort order
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSortOrder" runat="server"></asp:TextBox>
                                        <asp:ImageButton ID="btnSortOrder" runat="server" ImageUrl="~/images/cal.png" />
                                        <asp:CalendarExtender ID="calSortOrder" runat="server" PopupButtonID="btnSortOrder" TargetControlID="txtSortOrder">
                                        </asp:CalendarExtender>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="hasTip">
                                        Active
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="chkActive" runat="server" Checked="true" />
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </div>
                    <div class="width-40 fltrt">
                        <fieldset class="adminform">
                            <legend>Description</legend>
                            <br />
                            Allow to user edit a category
                            <br />
                            <asp:Image ID="imgImage" runat="server" Width="150px" />
                        </fieldset>
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="b">
                    <div class="b">
                        <div class="b">
                        </div>
                    </div>
                </div>
            </div>
            <noscript>
                Warning! JavaScript must be enabled for proper operation of the Administrator backend.
            </noscript>
        </div>
    </div>
</asp:Content>
